{include file="header.html"}
<link rel="stylesheet" href="/style/css/member.css">
{include file="ur_here.html"}
<div id="container">
    <div class="fn-clear mt20 pb20">
        {include file="member/menu.html"}
        <style type="text/css">
            .refer-box .rleft ul li{ width:410px;}
        </style>
        <div class="fn-right hy-r">
            <div class="fn-clear hy-tjxh">
                <div class="title"><h2>{$L.unit_bonus}使用规则</h2></div>
                <div class="hy-box">
                    1.单次订单支付人次大于等于{$L.unit_bonus}面值时，该{$L.unit_bonus}即可使用<br>
                    {if $full_cut.full_cut_0}
                    2.所有{$L.unit_bonus}遵循满{$full_cut.full_cut_0}减{$full_cut.full_cut_1}的规则（即单次订单支付{$full_cut.full_cut_0}人次即可使用{$full_cut.full_cut_1}{$L.unit_bonus}）
                    {/if}
                </div>
                <div class="title"><h2>我的{$L.unit_bonus}</h2></div>
                <div class="hy-table" style="margin: 10px auto;">
                    <table>
                        <tbody>
                        <tr>
                            <th>{$L.unit_bonus}序列号</th>
                            <th>{$L.unit_bonus}名称/面值</th>
                            <th>有效时间</th>
                            <th>使用时间/订单号</th>
                            <th>状态</th>
                        </tr>
                        {foreach from=$list item=m}
                          <tr>
                              <td>{$m.bonus_sn}</td>
                              <td>{$m.b_title}<br><b class="color01">{$m.money}</b>{$m.money_type_title}</td>
                              <td>
                                  {if $m.start_time}{$m.start_time|date_format:'Y-m-d H:i:s'}{else}--{/if}<br>
                                  {if $m.end_time}{$m.end_time|date_format:'Y-m-d H:i:s'}{else}--{/if}
                              </td>
                              <td>
                                  {if $m.used_time}{$m.used_time|date_format:'Y-m-d H:i:s'}{else}--{/if}<br>
                                  {$m.order_id}
                              </td>
                              <td>
                                  {if $m.disabled eq 1}
                                  {if $m.order_id}
                                  <span class="color01">已使用</span>
                                  {else}
                                  <span class="color01">已过期</span>
                                  {/if}
                                  {else}
                                  未使用
                                  {/if}
                              </td>
                          </tr>
                        {/foreach}
                        </tbody>
                     </table>
                 </div>
                {include file="public_page.html"}
            </div>
        </div>
    </div>
</div>
{include file="footer.html"}